package com.ylkj.member.service.impl;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ylkj.common.entity.ImRecord;
import com.ylkj.member.dao.ImRecordDAO;
import com.ylkj.member.service.ImRecordService;

@Service
public class ImRecordServiceImpl implements ImRecordService {
    private static final Logger logger = LoggerFactory.getLogger(ImRecordServiceImpl.class);

	@Autowired
	private ImRecordDAO ImRecordDAO;
	
	@Override
	public List<ImRecord> queryImRecordByPara(Map<String, Object> para) {
		return ImRecordDAO.queryImRecordByPara(para);
	}

	@Override
	public void addImRecord(ImRecord imRecord) {
		ImRecordDAO.addImRecord(imRecord);
	}

	@Override
	public void updateImRecord(ImRecord imRecord) {
		ImRecordDAO.updateImRecord(imRecord);
	}

	@Override
	public void delImRecord(ImRecord imRecord) {
		ImRecordDAO.delImRecord(imRecord);
	}
}
